[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Set_Caps


Purpose   Forces the Caps Lock key on or off.

Decln.    Set_Caps(On:Boolean);

Remarks   On is a boolean to indicate if the Caps lock should be set to on,
          i.e. pass true to set it on and false to set it off.

          This procedure will only function on IBM (Compaq!) machines and
          100% compatibles. Clone machines that have cheap keyboards or
          non-standard BIOS will not properly illuminate the Caps Lock key
          - some clones use a mechanical trigger to change the Caps Lock
          light and do not detect a software change.

Example

BEGIN
    IF CAPSON THEN
    BEGIN
        FWRITE('TURNING OFF THE CAPS LOCK KEY');
        SET_CAPS(FALSE);
    END;
END;

See Also: CapsOn Set_Num Set_Scroll
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson